package com.cloudeye.sys.web.controller;

import com.cloudeye.sys.base.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created by lafangyuan on 2021/1/29.
 * 测试日志写入数据库
 */

@RequestMapping("/log")
@RestController
@Slf4j
public class LogTestController {

    @RequestMapping("/print")
    public Result print(){
        log.info("打印日志");
        return Result.sussess();
    }
}
